<?php

/**
 * 
 */
class UI_CollapsiblePanel extends Z_Component {

    public function __construct($title="",$collasped=true) {
        parent::__construct("<div data-role=\"collapsible\" data-collapsed=\"$collasped\">","</div>");

	if ($title!="")
	    $this->add(new Z_Html_H(3, $title));

    }


}